package com.yangye.otherdemo.doublecolondemo;

import java.util.Date;

/**
 * @author yangye
 * @date 2020/1/6 0006
 */
public class DoubleColonDemo {

	//	public static void main(String[] args) {
//		DoubleColonDemo demo = new DoubleColonDemo();
//		demo.test();
//	}
	public void test() {
		DoubleColon doubleColon = () -> System.out.println("接口实现的方法");
		doubleColon.doSth();
	}

	private void doSomething() {
		System.out.println("接口实现的方法");
	}

	public static void main(String[] args) {
		Date beginTime = new Date(120, 0, 9, 14, 1);
		System.out.println(beginTime.getTime() / 1000);
	}
}
